


sub printnum(number:word) {
#asm
	lda __printnum_number + 1	; msb
	ldx __printnum_number		; lsb
	jsr $bdcd
	lda #13
	jmp $ffd2
#endasm
}